Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

Previous | Chapter Top | Chapter Contents | Next |

Marker Event

The Marker event has three subtypes. The end Marker event ( Figure 8 ) marks the end of a series of events. The beat Marker event marks the beat and the tempo Marker event indicates the tempo.

Figure 8 Marker event of subtype End

Marker event type

first nibble value = 011X

Subtype

8-bit unsigned subtype

Value

16-bit signed value

The Marker subtype bit field contains zero for an end marker ( kMarkerEventEnd ), 1 for a beat marker ( kMarkerEventBeat ), or 2 for a tempo marker ( kMarkerEventTempo ).

The value bit field varies according to the subtype:

Macro call used to stuff the Marker event's long word:

qtma_StuffMarkerEvent(x, markerType, markerValue)

Macro calls used to extract fields from the Marker events long word:

qtma_MarkerSubtype(x)
qtma_MarkerValue(x)

© 1999 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next